package com.qianli.cashmama.trade.openApi.exception;

import com.fqgj.exception.common.ApplicationException;
import com.fqgj.exception.enums.ErrorCodeEnum;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2020-11-30
 * Time: 14:42
 */
public class OpenApiException extends ApplicationException {

    public OpenApiException(String message) {
        super(message);
    }

    public OpenApiException(String message, Throwable cause) {
        super(message, cause);
    }

    public OpenApiException(ErrorCodeEnum errorCodeEnum) {
        super(errorCodeEnum);
    }

    public OpenApiException(ErrorCodeEnum enums, String message) {
        super(enums, message);
    }

    public OpenApiException(Integer errorId, String message, Throwable cause) {
        super(errorId, message, cause);
    }

    public OpenApiException(Integer errorId) {
        super(errorId);
    }

    @Override
    public Integer getErrorId() {
        return super.getErrorId();
    }
}
